__android_log_assert

Writes an assertion failure to the log (as ANDROID_LOG_FATAL) and to stderr, before calling abort(3).

If fmt is non-null, cond is unused. If fmt is null, the string Assertion failed: %s is used with cond as the string argument. If both fmt and cond are null, a default string is provided.

Most callers should use assert(3) from <assert.h> instead, or the __assert and __assert2 functions provided by bionic if more control is needed. They support automatically including the source filename and line number more conveniently than this function.

extern (C) nothrow @nogc
void
__android_log_assert
(
const(char)* cond
,
const(char)* tag
,
const(char)* fmt
,
)

Meta